package com.hua.yuan.userlogin.business;

import android.support.annotation.NonNull;

import com.hua.yuan.userlogin.business.callback.IUserLoginCallback;

/**
 * @Author: richsjeson.
 * @Description: 用户登录
 * @Date:Created in 2018/12/12 下午11:07.
 * @Modified By:
 */
public interface IUserLoginBusiness {
    /**
     * 执行用户登录的操作
     */
    void userLogin(@NonNull String pUserName, @NonNull String pPassword, @NonNull IUserLoginCallback pLoginCallback);
    /**
     * 执行用户注销的操作
     */
    void logout(@NonNull IUserLoginCallback pLoginCallback);

}
